#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	printf("%d", my_strlen("abcdef"));
	return 0;
}

int my_strlen(char* str)
{
	int count = 0;
	while (*str)
	{
		count++;
		*str++;

	}



	return count;
}